<?php 
/* SVN FILE: $Id$ */
/* Apps schema generated on: 2010-01-19 06:01:19 : 1263883399*/
class AppsSchema extends CakeSchema {
	var $name = 'Apps';

	function before($event = array()) {
		return true;
	}

	function after($event = array()) {
	}
	var $groups = array(
		'id' => array('type' => 'integer', 'null' => false, 'default' => NULL, 'key' => 'primary'),
		'name' => array('type' => 'string', 'null' => false, 'length' => 100),
		'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1))
	);
	var $users = array(
		'id' => array('type' => 'integer', 'null' => false, 'default' => NULL, 'key' => 'primary'),
		'username' => array('type' => 'string', 'null' => false, 'key' => 'unique'),
		'password' => array('type' => 'string', 'null' => false),
		'nickname' => array('type' => 'string', 'null' => false),
		'email' => array('type' => 'string', 'null' => false),
		'group_id' => array('type' => 'integer', 'null' => false, 'default' => '3'),
		'theme' => array('type' => 'string', 'null' => false, 'default' => 'cupertino', 'length' => 15),
		'createdate' => array('type' => 'datetime', 'null' => false),
		'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1), 'username' => array('column' => 'username', 'unique' => 1))
	);
}
?>